<template>
  <div class="ad">
    <!-- <van-image lazy-load src="" /> -->
    <marquee scrollamount="20"  direction="right">
      <van-image lazy-load :src="$filterImage(adPictrue)" />
    </marquee>
  </div>
</template>

<script>
export default {
  data() {
    return {
      adPictrue: ""
    };
  },
  created() {
    this.$eventBus.$on("getIndexInfo", res => {
      //console.log(res);
      this.adPictrue = res.advertesPicture.PICTURE_ADDRESS;
    });
  }
};
</script>

<style>
.ad {
  margin-top: 4px;
}
</style>